package com.example.shiro02.controller;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Version 1.0
 * @Author:zlf
 * @Date:2020/11/25 - 11:19
 * @Content:
 */
@Controller
public class CustomerController {
    @RequestMapping("list")
    @RequiresPermissions("sys:k:find")
    public String list() {
        System.out.println("-------查询客户信息");
        return "customer_list";
    }
}
